-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Enhance ERC registry update with efficient merge and deduplication #1136
feat: Enhance ERC registry update with efficient merge and deduplication #1136
Conversation
Test Results 16 files ±0 83 suites ±0 12m 13s ⏱️ +11s For more details on these failures, see this check. Results for commit 595037f. ± Comparison against base commit 878566d. This pull request removes 6 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
f446964
to
98ebe35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, one suggestion.
tools/erc-repository-indexer/erc-contract-indexer/src/utils/helper.ts
Outdated
Show resolved
Hide resolved
tools/erc-repository-indexer/erc-contract-indexer/src/services/registryGenerator.ts
Show resolved
Hide resolved
tools/erc-repository-indexer/erc-contract-indexer/src/services/registryGenerator.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
726fc27
98ebe35
to
726fc27
Compare
Signed-off-by: Logan Nguyen <[email protected]>
Signed-off-by: Logan Nguyen <[email protected]>
Description:
This PR introduces a streamlined mechanism to correctly insert new, previously unrecognized ERC contract IDs into a sorted registry. The updated implementation uses Lodash to simplify the process, ensuring contracts are seamlessly merged, de-duplicated, and ordered correctly by their contractId.
Fixes #1130
Notes for reviewer:
Checklist